box gadget: Fix baseline allocation for widgets
authorMatthias Clasen <mclasen@redhat.com>
Sat, 23 Jan 2016 03:08:38 +0000 (22:08 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 23 Jan 2016 03:08:38 +0000 (22:08 -0500)
commite26300625fb15e84ce2964aa281e89f1f7536aba
tree7037c48357cdbdddc0995a8a91ae8326408f6065
parent029d568b040fbeedee016310594415f471ef483e
box gadget: Fix baseline allocation for widgets

We were adjusting the allocation to line up baselines before
calling gtk_widget_size_allocate_with_baseline, but that function
is doing this alignment internally anyway and expects to be given
a 'fill' allocation.

Move the allocation adjustment code down into
gtk_box_gadget_allocate_child where it only affects child gadgets,
not child widgets.
gtk/gtkboxgadget.c